<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-heading"><h4>新增管理员</h4></div>
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="name">姓名:</label>
                        <div class="col-sm-6">
                            <input type="text" name="name" id="name" required="required" placeholder="请输入姓名" required="required" class="form-control">
                        </div>
                    </div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" for="account">账号:</label>
                    		<div class="col-sm-6">
                    			<input type="text" placeholder="请输入账号" required="required"  data-minlength="6"   name="account" class="form-control" id="account" value=""/>
                    		</div>
                    	</div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" for="mobile">手机:</label>
                    		<div class="col-sm-6">
                    			<input type="text" placeholder="请输入手机"  data-minlength="11" data-maxlength="11"  required="required"  name="mobile" class="form-control" id="mobile" value="" />
                    		</div>
                    </div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" for="email">邮箱:</label>
                    		<div class="col-sm-6">
                    			<input type="text" placeholder="请输入email" data-type="email" required="required" name="email" class="form-control" id="email" value="" />
                    		</div>
                    </div>
                    <div class="form-group">
                    	<label class="col-sm-3 control-label" for="password">密码:</label>
                    	<div class="col-sm-6">
                    		<input type="password" placeholder="密码" data-minlength="5" required="required" class="form-control" name="password" id="password"  />
                    	</div>
                    </div>
                    
                    <div class="form-group">
                    	<label class="col-sm-3 control-label" for="confirm_password">确认密码:</label>
                    	<div class="col-sm-6">
                    		<input type="password" placeholder="确认密码"  data-equalto="#password" class="form-control" id="confirm_password"  />
                    	</div>
                    </div>
                    <div class="form-group">
                    	<label class="col-sm-3 control-label">分配权限:</label>
                    	<div class="col-sm-6">
                    		<select class="form-control" name="auth_group_id">
                    			<option value="0">无权限</option>
                    			{foreach name="menus" item="v"}
                    			<option value="{$v.id}">{$v.name}</option>
                    			{/foreach}
                    		</select>
                    	</div>
                    </div>
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            <button class="btn-primary btn" id="form-submit">提交</button>
                            <button class="btn-default btn" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}admin/add.js'></script>